﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmPopUpExistenciaBodegas.aspx.vb" Inherits="Dialogos_frmPopUpExistenciaBodegas" %>

<!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>Existencia de Bodegas</title>
  <script language="javascript" type="text/javascript">
      var opener = window.dialogArguments;

      function DevolverValores(Bodega) {
          opener.SetearBodega(Bodega);
          window.close();
      }
    </script>
   <link href="../Estilos/Estilo.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../Scripts/JSEventHandlers.js"></script>
    <script language="javascript" type="text/javascript" src="../Scripts/JSUtilitarios.js"></script>
    <script language="javascript" type="text/javascript" src="../Scripts/CalendarPopup.js"></script>
</head>
<body>
<form id="frmClasificacion" method="post" runat="server">
			<table class="Secciones" id="tblUltimaCompra" cellspacing="1" cellpadding="1" width="525"
				align="center" border="0" style="WIDTH: 525px; HEIGHT: 388px">
				<tr>
					<td class="CeldasEspeciales" colspan="4"><asp:label id="lblUltimaCompra" runat="server" CssClass="Titulos"> .:: Existencia en Bodegas .:.</asp:label></td>
				</tr>
				<tr>
					<td style="WIDTH: 80px; HEIGHT: 23px" width="80">
						<asp:label id="lblBodega" runat="server" CssClass="Etiquetas" Width="100%">Bodega</asp:label></td>
					<td style="HEIGHT: 23px" width="140">
						<asp:textbox id="txtBodega" runat="server" CssClass="CajasTexto" Width="140px" MaxLength="10"></asp:textbox></td>
					<td style="HEIGHT: 23px" width="270" colspan="2" align="right">
						<asp:button id="btnBuscar" runat="server" CssClass="Botones" Text="Buscar"></asp:button></td>
				</tr>
				<tr>
					<td style="HEIGHT: 20px" width="150" colspan="4"><asp:datagrid id="grdBodegas" runat="server" Width="519px" AllowPaging="true" Font-Names="Verdana"
							Font-Size="11px" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" BackColor="White" cellpadding="3" GridLines="Horizontal" AutoGenerateColumns="False"
							AllowSorting="true">
							<SelectedItemStyle Font-Bold="true" ForeColor="#F7F7F7" BackColor="LightSlateGray"></SelectedItemStyle>
							<AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
							<ItemStyle ForeColor="#4A3C8C" BackColor="White"></ItemStyle>
							<HeaderStyle CssClass="grilla_header "></HeaderStyle>
							<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
							<Columns>
								<asp:HyperLinkColumn DataNavigateUrlField="BODEGA" DataNavigateUrlFormatString="javascript:DevolverValores('{0}')"
									DataTextField="BODEGA" SortExpression="BODEGA" HeaderText="Bodega">
									<HeaderStyle Width="40px"></HeaderStyle>
								</asp:HyperLinkColumn>
								<asp:BoundColumn DataField="CANT_DISPONIBLE" SortExpression="CANT_DISPONIBLE" HeaderText="Cantidad Disponible">
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="CANT_RESERVADA" SortExpression="CANT_RESERVADA" HeaderText="Cantidad Reservada">
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="CANT_REMITIDA" SortExpression="CANT_REMITIDA" HeaderText="Cantidad Remitida">
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="CANT_trANSITO" SortExpression="CANT_trANSITO" HeaderText="Cantidad tr&#225;nsito">
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="CANT_PRODUCCION" SortExpression="CANT_PRODUCCION" HeaderText="Cantidad en Producci&#243;n">
									<ItemStyle HorizontalAlign="Right"></ItemStyle>
								</asp:BoundColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" PageButtonCount="15"
								Mode="NumericPages"></PagerStyle>
						</asp:datagrid></td>
				</tr>
				<tr>
					<td align="center" colspan="4"></td>
				</tr>
				<tr>
					<td align="center" colspan="4"><asp:label id="lblMensaje" runat="server" CssClass="Mensaje"></asp:label></td>
				</tr>
				<tr>
					<td colspan="4"><input class="CajasTexto" id="hidArticulo" style="WIDTH: 15px; HEIGHT: 12px" type="hidden"
							size="1" name="hidArticulo" runat="server"/><input class="CajasTexto" id="hidCompania" type="hidden" size="1" name="hidCompania" runat="server"/><input class="CajasTexto" id="hdnTipoPopUp" type="hidden" size="1" name="hidCompania" runat="server"/></td>
				</tr>
			</table>
		</form>		
	</body>
</html>
